<?php

require('functions.php');

if (isset($_POST['skel_login']) && isset($_POST['skel_user']) && isset($_POST['skel_pass'])) {

	echo checkPassword($_POST['skel_user'],$_POST['skel_pass']);
	exit();

}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Skeleton CBP - Chat Based Projects - In Development</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js"></script>
<script type="text/javascript" src="index.js"></script>
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/ui-lightness/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="index.css" />
</head>
<body class="ui-widget">
<div id="mainBox1" class="ui-widget-content">
    <center><h2>Loading...</h2></center>
</div>
<div id="root1">
	<div id="root1_1"></div>
	<div id="root1_2"></div>
	<div id="root1_3"></div>
</div>
<div id="errorBox1"></div>
</body>
</html>